{% with object.get_images as object_images %}
{% if object_images %}
{% load table %}

	<table class="image" class="col{{col_number}}">
       {% table image object_images col_number %}
       	{% if table.firstcell %}<tbody>{% endif %}
        {% if table.startrow %}<tr>{% endif %}
           	<td{{ image.settings.css_class }}>
           		<h4>{{image.title|default:"&nbsp;"}}</h4>
           		<a href="{{ image.image.url }}" rel="prettyPhoto[gallery]">
           			<img src="{{ image.thumbnail }}" alt="{{image.title}}">
           		</a>
			</td>
         {% if table.endrow %}</tr>{% endif %}
         {% if table.lastcell %}</tbody>{% endif %}
       {% endtable %}
	</table>

{% endif %} 
{% endwith %}

